import { Component, OnInit } from '@angular/core';
import {Router} from '@angular/router';
import { Service } from 'app/server/server';
declare var $:any;
@Component({
  selector: 'app-public-tab-user',
  templateUrl: './public-tab-user.component.html',
})
export class PublicTabUserComponent implements OnInit {

  right: any = {
    "roles": {},
    "role": {},
    "privilege": {},
    "effect": {}
  };
  constructor(
    public router:Router,
    public server: Service,
  ) {
    this.right = $.extend(this.right, server.getRight());
   }

  ngOnInit() {
  }

}
